@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>学年学期管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <input type="hidden" id="orgId" value="${orgId}">
                        <input type="hidden" id="areaId" value="${areaId}">
                        <div class="hidden-xs" id="PtSchoolYearTermTableToolbar" role="group">
                            @if(shiro.hasPermission("/schoolYear/add")){
                            <#button name="添加学年" icon="fa-plus" clickFun="PtSchoolYearTerm.openAddSchoolYear()"/>
                            @}
                            @if(shiro.hasPermission("/schoolTerm")){
                            <#button name="管理学期" icon="fa-cloud-download" clickFun="PtSchoolYearTerm.toManageTerm()"
                            space="true"/>
                            @}
                            @if(shiro.hasPermission("/schoolYear/edit")){
                            <#button name="修改" icon="fa-cloud-upload" clickFun="PtSchoolYearTerm.openEditSchoolYear()"  space="true"/>
                            @}
                            @if(shiro.hasPermission("/schoolYear/delete")){
                            <#button name="删除" icon="fa-remove" clickFun="PtSchoolYearTerm.delete()"  space="true"/>

                            @}


                        </div>
                        <#table id="PtSchoolYearTermTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/ptSchoolYearTerm/ptSchoolYearTerm.js"></script>
@}
